-
Notifications
You must be signed in to change notification settings - Fork 98
[MRG] Ensure check is passed to update function #1411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1411 +/- ##
=======================================
Coverage 97.45% 97.45%
=======================================
Files 40 40
Lines 9088 9093 +5
=======================================
+ Hits 8857 8862 +5
Misses 231 231 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Hey Teon, good to see you again 👍 I hope things are going well for you. I think we'll need both lines here – the one you removed and the one you added – to make things work as documented (docs say that Care to update? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, disregard my previous comment, I think your proposed fix is exactly right. I got confused between the two methods!
|
Hi @teonbrooks 👋 !!! ... would be great to have a test that fails on |
|
so sorry, where are my manners?! hiya! 👋🏾 good to see you both 😄 |
cool! i'll get on that. I'll update the title to WIP as a reminder. I should have some time to get to it tomorrow (maybe today if I'm lucky) |
|
Hi Teon 👋 thanks for taking care of this 🚀 |
also within `_get_matching_bidspaths_from_filesystem`, the check parameter was being passed so it would not work when trying to generate a fpath Added test to check for the fpath creation with datatype not in VALID_DATATYPES when check=False
for more information, see https://pre-commit.ci
|
Got around to it this afternoon. If someone could give it a quick review, I would appreciate it :) |
|
Thanks @teonbrooks ! |
PR Description
I noticed that when using the BIDSPath and having passed the argument
check=False, the value wasn't being passed to the underlying update function.I noticed this when I was passing the argument datatype='eyetrack' (not supported by BIDS validation) but with the
check=False. when it came time to use BIDSPath.fpath, it erroredWithin the update method, it does a self-assign to
check, and since the check argument isn't passed, it defaults to TrueMerge checklist
Maintainer, please confirm the following before merging.
If applicable: